﻿<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/Presentacion/Maestra.Master"
    CodeBehind="ProgramarBatch.aspx.vb" Inherits="SIAVU.Presentacion.ProgramarBatch"
    Title="SIAVU - Programar batch" %>

<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxRoundPanel" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.ASPxEditors.v10.1, Version=10.1.4.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a"
    Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <table style="width: 100%; height: 100%">
        <tr>
            <td align="center">
                <asp:UpdatePanel ID="upBatch" runat="server">
                    <ContentTemplate>
                        <dx:ASPxPanel ID="pnlBatch" runat="server" Width="100%">
                            <PanelCollection>
                                <dx:PanelContent ID="PanelContent1" runat="server">
                                    <dx:ASPxRoundPanel ID="pnlMesBatch" runat="server" HeaderText="Mes a Programar" Width="80%"
                                        CssFilePath="~/App_Themes/Youthful/{0}/styles.css" CssPostfix="Youthful" HorizontalAlign="Center"
                                        SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                                        <ContentPaddings Padding="6px" PaddingBottom="6px" PaddingTop="4px" />
                                        <HeaderStyle Font-Bold="True" Font-Names="Calibri" Font-Size="15px">
                                            <Paddings PaddingBottom="13px" PaddingTop="0px" />
                                        </HeaderStyle>
                                        <PanelCollection>
                                            <dx:PanelContent ID="PanelContent2" runat="server">
                                                <table style="width: 100%; height: 100%">
                                                    <tr>
                                                        <td width="10%" style="font-family: Calibri" align="center">
                                                            <b>Mes</b>
                                                        </td>
                                                        <td width="90%" align="left">
                                                            <dx:ASPxComboBox ID="cmbMesPlazo" runat="server" ValueType="System.String" AutoPostBack="true">
                                                                <Items>
                                                                    <dx:ListEditItem Text="Enero" Value="1" />
                                                                    <dx:ListEditItem Text="Febrero" Value="2" />
                                                                    <dx:ListEditItem Text="Marzo" Value="3" />
                                                                    <dx:ListEditItem Text="Abril" Value="4" />
                                                                    <dx:ListEditItem Text="Mayo" Value="5" />
                                                                    <dx:ListEditItem Text="Junio" Value="6" />
                                                                    <dx:ListEditItem Text="Julio" Value="7" />
                                                                    <dx:ListEditItem Text="Agosto" Value="8" />
                                                                    <dx:ListEditItem Text="Septiembre" Value="9" />
                                                                    <dx:ListEditItem Text="Octubre" Value="10" />
                                                                    <dx:ListEditItem Text="Noviembre" Value="11" />
                                                                    <dx:ListEditItem Text="Diciembre" Value="12" />
                                                                </Items>
                                                            </dx:ASPxComboBox>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td width="10%" style="font-family: Calibri" align="center">
                                                            <b>Año</b>
                                                        </td>
                                                        <td width="90%" align="left">
                                                            <dx:ASPxComboBox ID="cmbAnio" runat="server" ValueType="System.String" CssFilePath="~/App_Themes/SoftOrange/{0}/styles.css"
                                                                CssPostfix="SoftOrange" LoadingPanelImagePosition="Top" SpriteCssFilePath="~/App_Themes/SoftOrange/{0}/sprite.css"
                                                                AutoPostBack="True">
                                                                <Items>
                                                                    <dx:ListEditItem Text="2008" Value="2008" />
                                                                    <dx:ListEditItem Text="2009" Value="2009" />
                                                                    <dx:ListEditItem Text="2010" Value="2010" />
                                                                </Items>
                                                                <ButtonStyle Cursor="pointer" Width="11px">
                                                                </ButtonStyle>
                                                                <LoadingPanelImage Url="~/App_Themes/SoftOrange/Editors/Loading.gif">
                                                                </LoadingPanelImage>
                                                                <ValidationSettings>
                                                                    <ErrorFrameStyle ImageSpacing="4px">
                                                                        <ErrorTextPaddings PaddingLeft="4px" />
                                                                    </ErrorFrameStyle>
                                                                </ValidationSettings>
                                                            </dx:ASPxComboBox>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </dx:PanelContent>
                                        </PanelCollection>
                                    </dx:ASPxRoundPanel>
                                    <br />
                                    <dx:ASPxRoundPanel ID="pnlFechasBatch" runat="server" Width="80%" HeaderText="Ejecución del proceso batch"
                                        CssFilePath="~/App_Themes/Youthful/{0}/styles.css" CssPostfix="Youthful" HorizontalAlign="Center"
                                        SpriteCssFilePath="~/App_Themes/Youthful/{0}/sprite.css">
                                        <ContentPaddings Padding="6px" PaddingBottom="6px" PaddingTop="4px" />
                                        <HeaderStyle Font-Bold="True" Font-Names="Calibri" Font-Size="15px">
                                            <Paddings PaddingBottom="13px" PaddingTop="0px" />
                                        </HeaderStyle>
                                        <PanelCollection>
                                            <dx:PanelContent ID="PanelContent3" runat="server">
                                                <table style="width: 100%;">
                                                    <tr>
                                                        <td width="50%" align="center">
                                                            <b>Fecha</b>
                                                        </td>
                                                        <td width="50%" align="center">
                                                            <b>Hora</b>
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td colspan="2">
                                                            <br />
                                                        </td>
                                                    </tr>
                                                    <tr>
                                                        <td align="center">
                                                            <dx:ASPxCalendar ID="fechaBatch" runat="server" ShowClearButton="False" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                                                                CssPostfix="Office2003Blue" SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                                                                <LoadingPanelImage Url="~/App_Themes/Office2003Blue/Web/Loading.gif">
                                                                </LoadingPanelImage>
                                                            </dx:ASPxCalendar>
                                                        </td>
                                                        <td valign="top" align="center">
                                                            <dx:ASPxTimeEdit ID="horaBatch" runat="server" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                                                                CssPostfix="Office2003Blue" SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                                                            </dx:ASPxTimeEdit>
                                                        </td>
                                                    </tr>
                                                </table>
                                            </dx:PanelContent>
                                        </PanelCollection>
                                    </dx:ASPxRoundPanel>
                                </dx:PanelContent>
                            </PanelCollection>
                        </dx:ASPxPanel>
                    </ContentTemplate>
                </asp:UpdatePanel>
            </td>
        </tr>
        <tr>
            <td align="center">
                <dx:ASPxButton ID="btnAceptar" runat="server" Text="Aceptar" CssFilePath="~/App_Themes/Office2003Blue/{0}/styles.css"
                    CssPostfix="Office2003Blue" Font-Bold="True" Font-Names="Calibri" Font-Size="15px"
                    SpriteCssFilePath="~/App_Themes/Office2003Blue/{0}/sprite.css">
                </dx:ASPxButton>
                <asp:CustomValidator ID="cvGuardarBatch" runat="server" Text="*" ErrorMessage="Definido en la validación"
                    Display="Dynamic"></asp:CustomValidator>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:UpdateProgress ID="upProgressBatch" runat="server" AssociatedUpdatePanelID="upBatch">
                    <ProgressTemplate>
                        <div class="msg_actualizando">
                            <img src="../Imagenes/Progreso.gif" alt="" />
                            Aguarde unos instantes mientras se procesa la información...
                        </div>
                    </ProgressTemplate>
                </asp:UpdateProgress>
            </td>
        </tr>
    </table>
</asp:Content>
